# Template file for 'lastpass-cli'
pkgname=lastpass-cli
version=1.3.1
revision=1
build_style=cmake
make_install_target="install install-doc"
hostmakedepends="asciidoc pkg-config"
makedepends="bash-completion libcurl-devel libxml2-devel"
short_desc="Command line interface to LastPass.com"
maintainer="Michael Carlberg <c@rlberg.se>"
license="GPL-2.0-or-later"
homepage="https://lastpass.com/"
#changelog="https://raw.githubusercontent.com/lastpass/lastpass-cli/master/CHANGELOG.md"
distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
checksum=25dc9a0c99a10ee70b5b3991d525448c25f312cc69fa0216d7ac70c4ae384b1b

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