Without getting the specs from a collision manual or something like TechAdvisor and checking the various dimensions, it's hard to know just how badly the frame's been tweaked. With a unibody, there's only so much that can be done to line it up again.
If we assume the frame damage is repairable, there's still quite a bit more, as has been pointed out upthread. Airbags, glazing, all the little plastic underhood parts, sensors, seat belt retractors, and an awful lot of sheetmetal. This is the kind of car that, if it were otherwise clean and low mileage, a body shop owner might pick up for himself or a family member, stick in a corner of the shop and work on whenever it's slow. But I think for anyone without the skill set and access to a frame machine and discounted parts, it's probably best to part it out.
The good news is that the drivetrain, and to a lesser extent, the interior have quite a bit of value.