# Template file for 'cryptsetup'
pkgname=cryptsetup
version=1.4.1
homepage="http://code.google.com/p/cryptsetup"
distfiles="https://cryptsetup.googlecode.com/files/$pkgname-$version.tar.bz2"
build_style=gnu-configure
short_desc="Setup virtual encryption devices under dm-crypt Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
checksum=82b143328c2b427ef2b89fb76c701d311c95b54093c21bbf22342f7b393bddcb
long_desc="
 Cryptsetup provides an interface for configuring encryption on block devices
 (such as /home or swap partitions), using the Linux kernel device mapper target
 dm-crypt. It features integrated Linux Unified Key Setup (LUKS) support.

 Cryptsetup is backwards compatible with the on-disk format of cryptoloop, but
 also supports more secure formats. This package includes support for automatically
 configuring encrypted devices at boot time via the config file /etc/crypttab.
 Additional features are cryptoroot support through initramfs-tools and several
 supported ways to read a passphrase or key."

subpackages="libcryptsetup cryptsetup-devel"

Add_dependency build pkg-config
Add_dependency build popt-devel
Add_dependency build libuuid-devel
Add_dependency build device-mapper-devel
Add_dependency build libgcrypt-devel
