# Template file for 'racer'
pkgname=racer
version=2.0.10
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=8e81da4f238117affe7631a7656b219294950ff17b2bea85794060be11b80489
nocross=yes

do_build() {
	cargo build --release
}

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