diff --git a/srcpkgs/dovecot/template b/srcpkgs/dovecot/template
index ff24a30f031..3c60fce33b8 100644
--- a/srcpkgs/dovecot/template
+++ b/srcpkgs/dovecot/template
@@ -1,13 +1,13 @@
 # Template file for 'dovecot'
 pkgname=dovecot
 version=2.2.14
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
  --disable-static --with-nss --with-pam --with-mysql --with-pgsql
  --with-sqlite --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl
  --with-gssapi --with-ldap=plugin --with-zlib --with-bzlib --with-lzma
- --with-libcap --with-solr --with-docs
+ --with-lz4 --with-libcap --with-solr --with-docs
  $(vopt_if systemd --with-systemdsystemunitdir=/usr/lib/systemd/system)"
 short_desc="IMAP and POP3 server written with security primarily in mind"
 maintainer="Juan RP <xtraeme@gmail.com>"
@@ -17,7 +17,7 @@ distfiles="${homepage}/releases/2.2/${pkgname}-${version}.tar.gz"
 checksum=68ac0fa105c6041129a1fe83ccf4915982d03d41d99054567892cc0fbd68ebf0
 
 makedepends="
- zlib-devel bzip2-devel liblzma-devel libressl-devel mit-krb5-devel
+ lz4-devel zlib-devel bzip2-devel liblzma-devel libressl-devel mit-krb5-devel
  libmysqlclient-devel>=5.5.27 postgresql-libs-devel sqlite-devel
  libldap-devel libcap-devel pam-devel libcurl-devel expat-devel"