# Template file for 'racer'
pkgname=racer
version=2.0.9
revision=1
hostmakedepends="rust cargo"
short_desc="Utility intended to provide Rust code completion for editors and IDEs"
maintainer="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="https://github.com/phildawes/racer"
distfiles="https://github.com/phildawes/racer/archive/${version}.tar.gz"
checksum=31185317118a069569611572daf28890989d52222c390448feacf17bb469fb87
nocross=yes

do_build() {
	cargo build --release
}

do_install() {
	vbin target/release/racer
	vlicense LICENSE-MIT LICENSE
}
