# Template file for 'ettercap'
pkgname=ettercap
version=0.8.3.1
revision=3
build_style=cmake
configure_args="-DENABLE_GTK=OFF -DBUNDLED_LIBS=OFF"
hostmakedepends="flex pkg-config"
makedepends="geoip-devel ncurses-devel openssl-devel libcurl-devel
 libltdl-devel libnet-devel libpcap-devel pcre-devel"
conf_files="/etc/${pkgname}/etter.conf"
short_desc="Network sniffer/interceptor/logger for ethernet LANs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://ettercap.github.com/ettercap/"
distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
checksum=d0c3ef88dfc284b61d3d5b64d946c1160fd04276b448519c1ae4438a9cdffaf3
lib32disabled=yes

CFLAGS="-fcommon"

post_extract() {
	rm -rf bundled_deps
}
