# Template file for 'impacket'
pkgname=impacket
version=0.9.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-future python3-six python3-chardet python3-pyasn1
 python3-pycryptodomex python3-openssl python3-ldap3 python3-Flask
 ldapdomaindump"
checkdepends="python3-pytest $depends"
short_desc="Collection of Python classes for working with network protocols"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="Apache-1.1, MIT"
homepage="https://www.secureauth.com/labs/open-source-tools/impacket/"
distfiles="https://github.com/SecureAuthCorp/impacket/releases/download/impacket_${version//./_}/impacket-${version}.tar.gz"
checksum=18d557d387f4914fafa739813b9172bc3f8bd9c036e93bf589a8e0ebb7304bba
make_check=extended

post_install() {
	vlicense LICENSE

	rm ${DESTDIR}/usr/bin/PoC.py    \
	   ${DESTDIR}/usr/bin/PoC2.py
}
