# Template file for 'ncmpc'
pkgname=ncmpc
version=0.52
revision=2
build_style=meson
configure_args="-Dlirc=disabled -Dhtml_manual=false
 -Dlyrics_screen=true -Dlyrics_plugin_dir=/usr/libexec/ncmpc/lyrics"
hostmakedepends="pkg-config python3-Sphinx gettext"
makedepends="libmpdclient-devel ncurses-devel pcre2-devel fmt-devel"
depends="python3-html5lib python3-requests python3-BeautifulSoup4"
short_desc="Ncurses-based mpd client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.musicpd.org/clients/ncmpc/"
changelog="https://raw.githubusercontent.com/MusicPlayerDaemon/ncmpc/master/NEWS"
distfiles="https://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz"
checksum=3af225496fe363a8534a9780fb46ae1bd17baefd80cf4ba7430a19cddd73eb1a

post_install() {
	vmkdir usr/share/examples/ncmpc
	mv ${DESTDIR}/usr/share/doc/ncmpc/{config.sample,keys.sample,ncmpc.lirc} \
		${DESTDIR}/usr/share/examples/ncmpc/
}
