# Template file for 'python-axolotl'
pkgname=python-axolotl
version=0.1.39
revision=2
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-axolotl-curve25519 python-crypto python-protobuf"
pycompile_module="axolotl"
short_desc="Python2 port of libaxolotl-android written by Moxie Marlinspike"
maintainer="Lon Willett <xgit@lonw.net>"
license="GPL-3"
homepage="https://pypi.python.org/pypi/python-axolotl"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="9af9c937d0d05ebea414f1be79ecc7517cc3541a77101941e6a2a71bdd2b6e25"

python3-axolotl_package() {
	noarch=yes
	depends="python3-axolotl-curve25519 python3-crypto python3-protobuf"
	pycompile_module="axolotl"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
