# Template file for 'telepresence'
pkgname=telepresence
version=0.92
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"
distfiles="https://github.com/datawire/telepresence/archive/${version}.tar.gz"
checksum=3ad4978333bbf69dc6e2f394054e43925e0025f3ff55b0480b5d5a3b18d9046c

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

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