# Template file for 'coWPAtty'
pkgname=coWPAtty
_pkgname=cowpatty
version=4.8
revision=6
build_style=gnu-makefile
make_use_env=1
make_install_args="BINDIR=/usr/bin"
makedepends="libpcap-devel openssl-devel"
short_desc="WPA-PSK dictionary attack"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/joswr1ght/cowpatty"
distfiles="https://github.com/joswr1ght/cowpatty/archive/${version}.tar.gz"
checksum=8aae67f4823edb76dff036808137888d2479477ec1e52aa86d6cecd26d58aa23
disable_parallel_build=yes

pre_build() {
	vsed -e '/clang/d' \
		 -e 's|-g3 -ggdb||g' \
		 -i Makefile
}
post_install() {
	vlicense COPYING
}
