# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set branch [join [lrange [split ${version} .] 0 0] .]
maintainers {lbschenkel @lbschenkel} openmaintainer
description curses Music Player Daemon (MPD) client
long_description ncmpc is a client for MPD, the Music Player Daemon.
homepage https://www.musicpd.org/clients/${name}/
master_sites https://www.musicpd.org/download/${name}/${branch}/
checksums rmd160 75d1d058f06b371a75f40c495a148f83bfa057c5 \
sha256 4632873dfc8efe61e501dc9184a5b921b482be2ddbedd3d23d05241d477a3e2c \
depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \
configure.args -Dcurses=ncurses
# temporary workaround for boost 1.66 on macOS >= 10.14
# (remove once boost is upgraded)
patchfiles-append patch-boost.diff
livecheck.url http://www.musicpd.org/download/${name}/${branch}/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"