# Template file for 'python3-oletools'
pkgname=python3-oletools
version=0.55
revision=2
archs=noarch
wrksrc="oletools-${version}"
build_style=python3-module
pycompile_module="oletools"
hostmakedepends="python3-setuptools"
depends="python3-parsing python3-olefile python3-colorclass python3-easygui
 python3-msoffcrypto-tool python3-pcodedmp"
short_desc="Python3 library to analyze MS OLE2 and Office files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/decalage2/oletools"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=3675ffca84398afd4c33852004b085c1b8dfa6079960cfba7ece35db9ebddb6f

post_install() {
	vlicense oletools/LICENSE.txt
}

oletools_package() {
	short_desc="${short_desc/library/tools}"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/bin
	}
}
