Description: <short summary of the patch>
 The configure script tries to run "ncurses5-config --terminfo", and if
 this does not succeed, uses a hardcoded list of terminfo directories
 which unfortunately does not include the directories /etc/terminfo and
 /lib/terminfo which we ship in ncurses-base.  Failing to find a terminfo
 directory, it then concludes that the system must be using termcap and
 adds "-ltermcap" to the linker line which fails.
 .
 This patch fixes the problem by not linking with -ltermcap.
Author: Sven Joachim <svenjoac@gmx.de>
Bug-Debian: https://bugs.debian.org/804084

diff -aur slrn-1.0.3a.orig/src/Makefile.in slrn-1.0.3a/src/Makefile.in
--- slrn-1.0.3a.orig/src/Makefile.in	2016-10-24 00:34:16.000000000 +0200
+++ slrn-1.0.3a/src/Makefile.in	2016-10-25 23:20:26.827152022 +0200
@@ -25,7 +25,7 @@
 #-----------------------------------------------------------------------------
 # System Libraries
 #-----------------------------------------------------------------------------
-SYSLIBS = @LIBS@ @TERMCAP@
+SYSLIBS = @LIBS@
 
 #-----------------------------------------------------------------------------
 RPATH		= @RPATH@

