# Template file for 'lychee'
pkgname=lychee
version=0.20.1
revision=1
build_style=cargo
configure_args="--package=lychee"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Fast, async, stream-based link checker written in Rust"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0, MIT"
homepage="https://lychee.cli.rs"
changelog="https://github.com/lycheeverse/lychee/releases"
distfiles="https://github.com/lycheeverse/lychee/archive/refs/tags/lychee-v${version}.tar.gz"
checksum=d030de91cf5cd96924987461911aa04e78404f6372e0734e20a5c31e2df4608a

do_install() {
	vbin target/${RUST_TARGET}/release/lychee
	vlicense LICENSE-APACHE
	vlicense LICENSE-MIT
}
