# Template file for 'python3-Brotli'
pkgname=python3-Brotli
version=1.2.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-pkgconfig python3-setuptools"
makedepends="python3-devel brotli-devel"
depends="python3"
short_desc="Python bindings for the Brotli compression library"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://github.com/google/brotli"
distfiles="https://github.com/google/brotli/archive/v${version}.tar.gz"
checksum=816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec

pre_build() {
	export USE_SYSTEM_BROTLI=1
}

post_install() {
	vlicense LICENSE
}
