# Template file for 'arti'
pkgname=arti
version=2.2.0
revision=1
archs="x86_64* i686* aarch64* arm*" # ring
build_style=cargo
make_install_args="--path crates/arti"
hostmakedepends="pkg-config"
makedepends="openssl-devel sqlite-devel libzstd-devel"
short_desc="Tor implementation in Rust"
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://gitlab.torproject.org/tpo/core/arti"
changelog="https://gitlab.torproject.org/tpo/core/arti/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v${version}/arti-arti-v${version}.tar.gz"
checksum=db4b8c4ae62e585bc1d49c2baa7e467354037b0b177d71670b2cd7d3369b2f8e

post_install() {
	vlicense LICENSE-MIT
	vdoc crates/arti/src/arti-example-config.toml
}
