# Template file for 'skim'
pkgname=skim
version=0.3.2
revision=1
hostmakedepends="cargo rust"
short_desc="Fuzzy Finder in rust"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/lotabout/skim"
distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz"
checksum=a16f64e4ce4703b36ca01e2f83b92b8a653ef9b9ce10332c6e215b80d3680e79
nocross=yes

do_build() {
	cargo build --release
}

do_check() {
	cargo test --release
}

do_install() {
	vbin target/release/sk
	vlicense LICENSE
}
