# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=4.10.0
revision=1
archs=noarch
wrksrc="msoffcrypto-tool-${version}"
build_style=python3-module
pycompile_module="msoffcrypto"
hostmakedepends="python3-setuptools"
depends="python3-olefile python3-cryptography"
short_desc="Python3 library for decrypting MS Office files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/nolze/msoffcrypto-tool"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=546a97e991e00e8c39d90b334f738ff7a8e23e2450c0ba0aafeff0a24258ce7f

post_install() {
	vlicense LICENSE.txt
}

msoffcrypto-tool_package() {
	short_desc="${short_desc/library/tool}"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/bin
	}
}
