# Template file for 'arti'
pkgname=arti
version=1.2.6
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=0a318f94e81ccc37bf4bbedad9990e5d77872234a1640dc52dfcf097e4bb165d

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