diff --git a/srcpkgs/unbound/template b/srcpkgs/unbound/template
index 97aa0e755ad..41a0d9e1fc0 100644
--- a/srcpkgs/unbound/template
+++ b/srcpkgs/unbound/template
@@ -1,14 +1,15 @@
 # Template file for 'unbound'
 pkgname=unbound
-version=1.6.1
-revision=3
+version=1.6.2
+revision=1
 build_style=gnu-configure
 configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf
  --with-pidfile=/run/unbound.pid --with-ssl=${XBPS_CROSS_BASE}/usr
  --with-libevent=${XBPS_CROSS_BASE}/usr --with-libexpat=${XBPS_CROSS_BASE}/usr
+ --enable-dnscrypt
  --with-rootkey-file=/etc/dns/root.key --sbindir=/usr/bin"
 conf_files="/etc/unbound/unbound.conf"
-makedepends="libressl-devel expat-devel libevent-devel"
+makedepends="expat-devel libevent-devel libressl-devel libsodium-devel"
 depends="dnssec-anchors"
 system_accounts="unbound"
 short_desc="Validating, recursive, and caching DNS resolver"
@@ -16,7 +17,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="3-clause-BSD"
 homepage="http://unbound.net/"
 distfiles="http://unbound.net/downloads/${pkgname}-${version}.tar.gz"
-checksum=42df63f743c0fe8424aeafcf003ad4b880b46c14149d696057313f5c1ef51400
+checksum=1a323d72c32180b7141c9e6ebf199fc68a0208dfebad4640cd2c4c27235e3b9c
 
 post_install() {
 	vsconf doc/example.conf unbound.conf