# Template file for 'telepresence'
pkgname=telepresence
version=0.94
revision=1
noarch=yes
build_style=python3-module
pycompile_module="telepresence"
hostmakedepends="python3-pip python3-setuptools git"
depends="fuse-sshfs torsocks socat conntrack-tools"
short_desc="Local development against a remote Kubernetes or OpenShift cluster"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Apache-2.0"
homepage="https://www.telepresence.io"
changelog="https://raw.githubusercontent.com/telepresenceio/telepresence/master/docs/reference/changelog.md"
distfiles="https://github.com/datawire/telepresence/archive/${version}.tar.gz"
checksum=499a79a64da14c3f632e15a6c4af90d9fd2cb73f96aa0964eb1c2e8e6f6132be

post_build() {
	packaging/build-sshuttle.py
}

post_install() {
	vbin dist/sshuttle-telepresence
	vlicense LICENSE
}
