config BR2_PACKAGE_CRYPTSETUP
	bool "cryptsetup"
	select BR2_PACKAGE_LIBGCRYPT
	select BR2_PACKAGE_POPT
	select BR2_PACKAGE_LVM2
	select BR2_PACKAGE_E2FSPROGS
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
	depends on BR2_LARGEFILE # lvm2, util-linux
	depends on BR2_USE_MMU # lvm2
	depends on BR2_USE_WCHAR # util-linux
	help
	  This tool helps manipulate dm-crypt and luks partitions for
	  on-disk encryption.

	  https://code.google.com/p/cryptsetup/

comment "cryptsetup needs a toolchain w/ largefile, wchar"
	depends on BR2_USE_MMU
	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
