Sounds like it could be worth buying. I'd like to see pictures of the interior and exterior. You'll obviously get a pre-purchase inspection (PPI) done on it before you commit to buying it. You'll also make sure that the paint/body work was done properly on the car (where the accident occurred).
Welcome to the site. Feel free to introduce yourself in the new members section.