# Template file for 'wavemon'
pkgname=wavemon
version=0.8.1
revision=1
build_style="gnu-configure"
hostmakedepends="automake pkg-config"
makedepends="ncurses-devel libnl3-devel"
short_desc="Ncurses-based monitoring application for wireless network devices"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3"
homepage="https://github.com/uoaerg/wavemon"
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
checksum=c9ea57da4f8161401bcaaca17b37bcdf16ffb88baad2370afed2e15a7f71af73

CFLAGS="-pthread -I${XBPS_CROSS_BASE}/usr/include/libnl3"

post_extract() {
	sed -i '/^CFLAGS/d' configure.ac
	autoreconf -fi
}

post_install() {
	rm -rf ${DESTDIR}/usr/share/wavemon
}
