class ncurses(Wig):
	tarball_uri = 'http://ftp.gnu.org/pub/gnu/ncurses/ncurses-$RELEASE_VERSION$.tar.gz'
	last_release_version = 'v6.0'

	def setup(self):
		self.before_configure += [S.export(S.CFLAGS, '-fPIC'), S.export(S.CPPFLAGS, '-P')]
		self.before_make += [S.export(S.CFLAGS, '-fPIC')]

@@ -148,16 +148,65 @@
 (self):%0A
+%09%09self.configure_flags += %5B'--enable-overwrite'%5D%0A
 %09%09self.b

Update ncurses.py