# Template file for 'telepresence'
pkgname=telepresence
version=0.97
revision=1
noarch=yes
build_style=python3-module
pycompile_module="telepresence"
hostmakedepends="python3-pip python3-setuptools git"
depends="kubectl fuse-sshfs torsocks openssh conntrack-tools iptables"
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=2e02c12eddcc35417e7cfb06781201b8fafae1be241befbb6f742b6e9be5ff69

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

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