How can I get a straight UV map when I unwrap?
A simple way to do this, if you don't want to unwrap again, is to select and scale the edges. Select the top edge of your curve like this:


Then press:


S
Y
0


The scaling result: (Repeat for the bottom edge)


Lastly scale the bottom edge along the X axis. The final result: