# Template file for 'wavemon'
pkgname=wavemon
version=0.8.0
revision=1
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
checksum=81ee1f06f8349fee62e98ec5b53dff5b76c4d8fcb439f20cca806255239e3a2a
build_style="gnu-configure"
hostmakedepends="automake pkg-config"
makedepends="ncurses-devel libnl3-devel"
maintainer="Steven R <dev@styez.com>"
homepage="http://www.erg.abdn.ac.uk/ergcms/wavemon/"
license="GPL-3"
short_desc="Ncurses-based monitoring application for wireless network devices"

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

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