# Contributor: jahway603 <jahway603@tutanota.de>
# Maintainer: jahway603 <jahway603@tutanota.de>
pkgname=py3-lxmf
pkgver=0.7.1
pkgrel=0
pkgdesc="A universal, distributed and secure messaging protocol for Reticulum"
url="https://github.com/markqvist/lxmf"
arch="all"
license="custom"
depends="python3 py3-rns"
makedepends="py3-gpep517 py3-setuptools py3-wheel wget"
subpackages="$pkgname-pyc"
source="lxmf-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/LXMF-$pkgver"
options="!check" # no tests

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="45857050dc6b00cbe76e3fea136cd4a7af0ae153beaee8acc1ed0b93f93cfa2dd9030b45c95d07e44d2b0865c5d65dd6f7eb34dbca67836ece1b9c72eb3c2e60  lxmf-0.7.1.tar.gz"
