# Template file for 'ncpamixer'
pkgname=ncpamixer
version=1.3.11
revision=1
build_wrksrc=src
build_style=cmake
makedepends="pulseaudio-devel ncurses-devel"
short_desc="Ncurses mixer for PulseAudio"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/fulhax/ncpamixer"
distfiles="https://github.com/fulhax/ncpamixer/archive/${version}.tar.gz"
checksum=dcc4a0ce20e9fff3f1ff710697971369aed28b6ed2f6c67c42039670eaf0f717

post_extract() {
	# disables the creation of the man pages, avoids the 
	# could not find git for clone of cmake_modules-populate error
	vsed -e 's/option(BUILD_MANPAGES "Build Man pages using pandoc" ON)//' -i src/CMakeLists.txt
}

post_install() {
	vlicense ../LICENSE
}
