# Template file for 'magic-wormhole'
pkgname=magic-wormhole
version=0.24.0
revision=1
build_style=python3-pep517
hostmakedepends="python3 python3-build python3-setuptools python3-wheel
 python3-versioneer"
depends="python3-autobahn python3-cffi python3-click python3-humanize
 python3-idna python3-pynacl python3-service_identity python3-spake2 python3-tqdm
 python3-txtorcon python3-iterable-io python3-zipstream-ng python3-qrcode
 python3-Twisted python3-attrs python3-automat python3-cryptography"
short_desc="Get things from one computer to another, safely"
maintainer="travankor <travankor@tuta.io>"
license="MIT"
homepage="https://magic-wormhole.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/magic-wormhole/magic-wormhole/master/NEWS.md"
distfiles="https://github.com/magic-wormhole/magic-wormhole/archive/${version}.tar.gz"
checksum=b69f8f25c3462e1e3205bd1e581564f0a0fbdb530ad33f9d9625def7fd34e135

post_install() {
	vlicense LICENSE
	rm ${DESTDIR}/usr/wormhole_complete.*
	vcompletion wormhole_complete.bash bash wormhole
	vcompletion wormhole_complete.fish fish wormhole
	vcompletion wormhole_complete.zsh zsh _wormhole
}
