# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-txsni
pkgver=0.1.9
pkgrel=1
pkgdesc="Simple support for running a TLS server with Twisted"
options="!check" # No testsuite
url="https://github.com/glyph/txsni"
arch="noarch"
license="MIT"
depends="python3 py3-openssl py3-twisted"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/T/TxSNI/TxSNI-$pkgver.tar.gz"
builddir="$srcdir/TxSNI-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cca5ae41904cd712fea2ad6e96fe6e75d4fbfc471fe8e9ae9260180a7169ffe7e458763a714256d5eb3f52bd4ed6fdd83a705f98f9e5728c81e53edf85f2029b  TxSNI-0.1.9.tar.gz"
