# Template file for 'olm-python3'
pkgname=olm-python3
version=3.2.14
revision=1
build_wrksrc=python
build_style=python3-module
hostmakedepends="python3-setuptools python3-cffi"
makedepends="python3-devel libffi-devel olm-devel"
depends="python3-cffi python3-future"
checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-aspectlib python3-pytest-isort"
short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://gitlab.matrix.org/matrix-org/olm"
changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=099d93ef93cc9d6efb3dd0ed5eb5f675b550579d6ccff01abaeca18f8a5f7e77

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