# Template file for 'ncpamixer'
pkgname=ncpamixer
version=1.3.7
revision=2
build_wrksrc=src
build_style=cmake
makedepends="pulseaudio-devel ncurses-devel"
short_desc="Ncurses mixer for PulseAudio"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="MIT"
homepage="https://github.com/fulhax/ncpamixer"
distfiles="https://github.com/fulhax/ncpamixer/archive/${version}.tar.gz"
checksum=8a647b333875e117449fdfa3167ed50cfebe2c2254ae2618eaa5e64a5e5db3a6

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
}
