I think you guys are giving the wrong advice. From my perspective his problem is not that he wants this girl and is in bad shape over it. His problem is that he is depressed as hell and hanging all his hopes and dreams on this girl he likes but has never approached. Fix the depression first, then go for the girl.
I concur with this.
You can not be a good partner to someone else, or even be good company to someone else, unless you can happily be with yourself. Basic self-worth required.
It is a bit cliché, but true.
Have you considered some community service?
Volunteering at a soup kitchen (and elsewhere) did wonders for me in my senior year of
hellschool er, highschool.
I felt like there was no point to anything, that no one could ever possibly want to be with me, that nothing I did mattered in the world, that
I didn't matter.
Then, after a while there, what I was doing
did matter. Just a little. Made the world a slightly better place.
Bringing a small light to bleakness made my own world brighter.
It's hard to get motivated, hard to get started, hard to see it as worthwhile, hard to care.
So just get up and F'ing do it.