# Template file for 'lastpass-cli'
pkgname=lastpass-cli
version=1.1.2
revision=2
build_style=cmake
make_install_target="install install-doc"
hostmakedepends="pkg-config asciidoc"
makedepends="libressl-devel libcurl-devel libxml2-devel bash-completion"
short_desc="Command line interface to LastPass.com"
maintainer="Michael Carlberg <c@rlberg.se>"
license="GPL-2"
homepage="https://lastpass.com/"
distfiles="https://github.com/lastpass/lastpass-cli/archive/v${version}.tar.gz"
checksum=bc737d8e6d713c8aecdfb7f34b29aa9a8ae9b1e9ba80b31059686b18591a8c39

post_install() {
	vmkdir usr/share/examples/lpass
	vcopy contrib/examples/* usr/share/examples/lpass
}
