# Template file for 'olm-python3'
pkgname=olm-python3
version=3.2.4
revision=2
wrksrc="olm-${version}"
build_wrksrc=python
build_style=python3-module
hostmakedepends="python3-setuptools python3-cffi"
makedepends="python3-devel libffi-devel olm-devel"
depends="python3-cffi python3-future"
short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
license="Apache-2.0"
homepage="https://gitlab.matrix.org/matrix-org/olm"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=fbd233de5ba08b0820c7008a0b83f5c8d40250111ec7acfa0bf7e0110bfa1ec1
# requires unpackaged pytest-{benchmark,isort}
make_check=no

pre_build() {
	make include/olm/olm.h
}
