diff --git a/templates/bash.tmpl b/templates/bash.tmpl
index 05a8f6af160..fd79f80fc81 100644
--- a/templates/bash.tmpl
+++ b/templates/bash.tmpl
@@ -7,7 +7,8 @@ wrksrc=$pkgname-$bash_distver
 distfiles="http://ftp.gnu.org/pub/gnu/bash/$pkgname-$bash_distver.tar.gz"
 build_style=gnu_configure
 configure_args="--without-bash-malloc --with-curses
- --bindir=$XBPS_DESTDIR/$pkgname-$version/bin ac_cv_func_working_mktime=yes"
+ --bindir=$XBPS_DESTDIR/$pkgname-$version/bin
+ --with-installed-readline ac_cv_func_working_mktime=yes"
 short_desc="The GNU Bourne Again Shell"
 maintainer="Juan RP <xtraeme@gmail.com>"
 checksum=26c99025b59e30779300b68adb764f824974d267a4d7cc1b347d14a2393f9fb4
@@ -24,8 +25,8 @@ long_desc="
  modification."
 
 base_chroot=yes
-build_depends="bison-2.3 ncurses-5.6"
-run_depends="glibc-2.8 ncurses-5.3"
+build_depends="bison-2.3 ncurses-5.6 readline-5.2"
+run_depends="glibc-2.8 ncurses-5.6 readline-5.2"
 
 pre_configure()
 {