# Template file for 'cmixer'
pkgname=cmixer
version=0.3
revision=1
depends="sndio>=1.7.0_1 perl-Curses-UI"
short_desc="Curses sndio mixer"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC"
homepage="https://rhaalovely.net/"
distfiles="https://rhaalovely.net/stuff/cmixer-${version}.tar.gz"
checksum=5b5dc5fbddf635874941e717752e7f8c6b1054bb8262dbfa3ac42898fedd42b0

post_extract() {
	sed -n '3,15p' cmixer.pl >LICENSE
}

do_install() {
	vbin cmixer.pl cmixer
	vlicense LICENSE
}
