# Template file for 'nausea'
pkgname=nausea
version=0.3
revision=2
build_style=gnu-makefile
makedepends="ncurses-devel fftw-devel"
short_desc="A curses audio visualizer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="http://git.2f30.org/nausea/"
distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
checksum=264a8298098269ac34aee8209323e379bbd38605ebab3bcf89ce5ac5ffc10939

pre_build() {
	sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile
	sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
	sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
}

do_install() {
	vbin nausea
	vman nausea.1
	vlicense LICENSE
	vdoc README
}