Almost the same as README

   TEA can be built in two modes. The default one uses the GtkSourceView and some GNOME-related libs: GnomeVFS and LibGconf (modern versions). You can also build TEA without those libs, but using the pure GTK+2.4 (or higher). In this mode, TEA hasn't dynamic syntax highlighting (so you need to refresh it manually), and has not braces highlighting.  
   To use such mode, run the "configure" script with the "--enable-legacy" option. 
   If you want the Aspell support (for spell-cheking), you need to install the libaspellXX-devel package (where XX is the number of version) before you run ./configure. And what about the version? The modern one - that is the answer.
   To use Enchant (and disable Aspell), configure the source with "--enable-enchant" option.
   Also you need the XOrg or XFree headers. For RPM-based distro please install the package with a name "libx11_6-devel" (the version can be different).

To install TEA:

./configure
or
./configure --enable-legacy

and then:

make
make install

To uninstall:

make uninstall
Notes:

1. If you want the Aspell support (for spell-cheking), you should install libaspellXX-devel package (where XX is the number of version) before you run ./configure. And what about the version? The modern one - that is the answer.

2. If you are not the Debian-package maintainer, do not use the "--enable-debian" option for the configure-script. So if you have Debian, and want to build TEA from the source, run the ./configure without parameters.