I keep forgetting myself how to do this so here is the Thinkhole Labs blog post with full details.

The short version:

account add jabber username@gmail.com mypasswd talk.google.com:5223:ssl