# Template file for 'ncmpc'
pkgname=ncmpc
version=0.45
revision=1
build_style=meson
configure_args="-Dlirc=disabled"
hostmakedepends="pkg-config python3-Sphinx"
makedepends="boost-devel libmpdclient-devel ncurses-devel pcre-devel"
short_desc="Ncurses-based mpd client"
maintainer="Getty Ritter <gettyritter@gmail.com>"
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=17ff446447e002f2ed4342b7324263a830df7d76bcf177dce928f7d3a6f1f785

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