1. Make sure you have sources repositories enabled
Edit your /etc/apt/sources.list file and make sure you have a line similar with the one below:
deb-src ftp://ftp.ro.debian.org/debian/ lenny main contrib non-free
2. Install the needed dependencies
Use apt-get build-dep as root to install BasKet's dependencies:
apt-get build-dep basket
3. Download the source
Get the source tarball for the latest BasKet release from the official homepage.
4. Compile and install
Uncompress the tarball, change the current working to basket-22.214.171.124 (or whatever version you may have), and issue the usual:
The last one as root. BasKet should be now properly installed.
BasKet 126.96.36.199 - Even better!
I recently wrote a full review of BasKet, you can read it here.