# Template file for 'ettercap'
pkgname=ettercap
version=0.8.0
revision=1
build_style=cmake
configure_args="-DENABLE_GTK=OFF"
hostmakedepends="cmake flex"
makedepends="ncurses-devel libcurl-devel libltdl-devel libnet-devel libpcap-devel openssl-devel pcre-devel"
conf_files="/etc/${pkgname}/etter.conf"
short_desc="A network sniffer/interceptor/logger for ethernet LANs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://ettercap.github.com/ettercap/"

do_fetch() {
	git clone -b v${version} git://github.com/Ettercap/ettercap.git ${pkgname}-${version}
}
