# Description: A Python Matrix client library, designed according to sans I/O principles
# URL: https://github.com/poljar/matrix-nio
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-aiofiles python3-aiohttp-socks python3-atomicwrites python3-h11 python3-h2 python3-jsonschema python3-logbook python3-olm python3-peewee python3-pycryptodome python3-unpaddedbase64

name=python3-matrix-nio
version=0.21.2
release=1
source=(https://github.com/poljar/matrix-nio/archive/$version/$name-$version.tar.gz)

build() {
  cd matrix-nio-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
